﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;
using ZDSoft.UPMS.Model.SystemPart;

namespace ZDSoft.UPMS.Model.BusinessPart
{
    /// <summary>
    /// 情况类
    /// </summary>
    /// Author：刘祖民
    /// CreateTime:2013-5-22

    [ActiveRecord]
    public class Situation : ModelBase<Situation>
    {
        /// <summary>
        /// 情况名称
        /// </summary>
        //暂时删除
        //[Property]
        //public string Name { get; set; }

        /// <summary>
        /// 被记次数
        /// </summary>
        [Property]
        public int SelectCount { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        [Property]
        public bool IsActive { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [Property]
        public string Remark { get; set; }

        [BelongsTo("SituationTypeID")]
        public SituationType SituationType { get; set; }

        [BelongsTo("StudentID")]
        public User Student { get; set; }

        [BelongsTo("UserCourseSituationID")]
        public UserCourseSituation userCourseSituation { get; set; }

      
    }
}
